package com.cdks.wuxiu.api.service.mysql;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdks.wuxiu.entity.mysql.VoiceShowInfo;

/**
 * 用户语音信息表 服务类
 */
public interface VoiceShowInfoService extends IService<VoiceShowInfo> {
    int deleteByUser(Long userId);
    int deleteByName(Long userId, String voiceUri);
    int addPlayCount(Long voiceId);
    int addRewardCount(Long voiceId);

    List<VoiceShowInfo> getVoicesByUser(Long userId);
    List<VoiceShowInfo> getPlayList(long selfId, int sex);
}
